
#ifndef WEIGHT_SENSOR
#define WEIGHT_SENSOR

typedef enum
{
	yes,
	no
} isUserSet;

struct WeightSensor
{
	int weight;
	isUserSet isUserSet;
};

typedef struct WeightSensor WeightSensor;

WeightSensor* weightSensorConstruct();
void weightSensorDeconstruct(WeightSensor *weightSensor);
void weightSensorSetWeight(WeightSensor *weightSensor, int weight);
void measureWeight(WeightSensor *weightSensor);

#endif